<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #dplayer {
            width: 1000px;
            height: 600px;
            margin: 0 auto;
        }
    </style>
</head>
<body>
<script src="https://cdn.bootcdn.net/ajax/libs/dplayer/1.27.1/DPlayer.min.js"></script>

<div id="dplayer"></div>
<button id="nextBth">下一集</button>
<img style="width: 1000px" src="http://localhost:8080/api/photo/116" alt="a">

<script>
    let index = 41;
    new DPlayer({
        container: document.getElementById('dplayer'),
        screenshot: false,
        video: {
            url: 'http://localhost:8080/api/video/' + index
        }
    })
</script>
</body>
</html>
